home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 2: CDPD 1
/
Almathera Ten on Ten - Disc 2: CDPD 1.iso
/
pd
/
076-100
/
084
/
popcli
/
popsup.a
< prev
Wrap
Text File
|
1995-03-13
|
723b
|
25 lines
*************************************************************************
* HandlerInterface()
*
* This code is needed to convert the calling sequence performed by
* the input.task for the input stream management into something
* that a C program can understand.
*
* This routine expects a pointer to an InputEvent in A0, a pointer
* to a data area in A1. These values are transferred to the stack
* in the order that a C program would need to find them. Since the
* actual handler is written in C, this works out fine.
*
* Author: Rob Peck, 12/1/85
*
xdef _HandlerInterface
xref _myhandler
section "text",code
_HandlerInterface:
movem.L A0/A1,-(A7)
jsr _myhandler
addq.L #8,A7
rts
END